
      var plDefaults = [{
            plType: "Commoner",
            plRefresh: 4,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 24,
            plAbiPCap: 3,
            plAdvP: 1,
            plAdvPCap: 1,
            plHighAdvType: "Expert"
          }, {
            plType: "Expert",
            plRefresh: 5,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 24,
            plAbiPCap: 3,
            plAdvP: 3,
            plAdvPCap: 1,
            plHighAdvType: "Expert"
          }, {
            plType: "Hero",
            plRefresh: 6,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 25,
            plAbiPCap: 3,
            plAdvP: 6,
            plAdvPCap: 2,
            plHighAdvType: "Heroic"
          }, {
            plType: "Action Hero",
            plRefresh: 7,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 25,
            plAbiPCap: 4,
            plAdvP: 9,
            plAdvPCap: 2,
            plHighAdvType: "Heroic"
          }, {
            plType: "Mythic Hero",
            plRefresh: 8,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 26,
            plAbiPCap: 4,
            plAdvP: 12,
            plAdvPCap: 5,
            plHighAdvType: "Power"
          }, {
            plType: "Legendary Hero",
            plRefresh: 9,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 26,
            plAbiPCap: 5,
            plAdvP: 15,
            plAdvPCap: 7,
            plHighAdvType: "Power"
          }, {
            plType: "Super Hero, Metro Class",
            plRefresh: 10,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 27,
            plAbiPCap: 5,
            plAdvP: 20,
            plAdvPCap: 10,
            plHighAdvType: "Super Power, Metro Class"
          }, {
            plType: "Super Hero, World Class",
            plRefresh: 10,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 27,
            plAbiPCap: 5,
            plAdvP: 30,
            plAdvPCap: 12,
            plHighAdvType: "Super Power, World Class"
          }, {
            plType: "Super Hero, Galaxy Class",
            plRefresh: 10,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 27,
            plAbiPCap: 5,
            plAdvP: 40,
            plAdvPCap: 14,
            plHighAdvType: "Super Power, Galaxy Class"
          }, {
            plType: "Super Hero, Cosmic Class",
            plRefresh: 10,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 27,
            plAbiPCap: 5,
            plAdvP: 50,
            plAdvPCap: 16,
            plHighAdvType: "Super Power, Cosmic Class"
          }, {
            plType: "Super Hero, Infinity Class",
            plRefresh: 10,
            plTradeFor: false,
            plTradeAmt: "",
            plAbiP: 27,
            plAbiPCap: 5,
            plAdvP: 60,
            plAdvPCap: 18,
            plHighAdvType: "Super Power, Infinity Class"
          }];

      function getPLVal(Type, Val) {
        for (plDef in plDefaults) {
          if (plDef.plType == Type) {
            return plDef[Val];
          }
        }
        return "";
      }